package com.chw.dao;

import com.chw.model.Area;
import com.chw.model.User;
import com.chw.model.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserDao {
    List<Area> area(Integer pid);

    User getName(String name);

    void addUser(User user);

    User queryName(String name);

    List<UserVo> queryUser(UserVo userVo);

    Integer count(UserVo userVo);

    void upUser(User user);

    void upPass(@Param(value = "id") Integer id, @Param(value = "s1") String s1);
}
